package com.scs.application.modules.price.service;

import com.scs.application.core.service.IBaseService;
import com.scs.application.modules.price.dto.AdjustBuildDTO;
import com.scs.application.modules.price.dto.AdjustBuildScpDTO;
import com.scs.application.modules.price.entity.Adjustment;
import com.scs.application.modules.sys.model.RestResult;

import java.util.List;

/**
 * <p>
 *  Service
 * </p>
 */

public interface AdjustmentService extends IBaseService<Adjustment> {
    void ChargeChange(Adjustment adjustment);
    //调价生效
    RestResult effectiveChange();

    // HIS物价调整
    int buildByHisChange(List<AdjustBuildDTO> adjustBuildList,String from,Boolean updateMatrHis);

    // 供应商系统物价调整
    String buildBySpChange(List<AdjustBuildScpDTO> adjustBuildList, String from, Boolean updateMatrHis);
}
